namespace CodeConsult.Nordic.nRF8001.ApplicationControlInterface.Events.SystemEvents
{
    public class DisplayKeyEvent : AciEventBase
    {
        public const byte OpCode = 0x8E;

        public byte[] PassKey { get; set; }
        public byte[] PipesClosed { get; set; }

        protected override void DecodeFromBuffer()
        {
            PassKey = DecodeHelper.GetBytes(6);
        }
    }
}
